import request from '@/utils/request';
enum API {
    LOGIN = "admin/acl/index/login",
    USERINFO = "/admin/acl/index/info",
    LOGOUT = "/admin/acl/index/logout",
}
//登录接口
export const reqLogin = (data: any) => request.post(API.LOGIN, data);
//用户信息
export const reqUserInfo = () => request.get(API.USERINFO);
//退出登录
export const reqLogOut = () => request.post(API.LOGOUT);
